﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kopytko.BoardGame
{
    class Print
    {
        public Print(Pole pole)
        {
            Console.Out.Write("(" + pole.GetX() + "," + pole.GetY() + ")");
        }
        public Print(Ruch ruch)
        {
            new Print(ruch.GetSkad());
            Console.Write("=>");
            new Print(ruch.GetDokad());
        }
        public Print(Figura figura)
        {
            Console.Out.Write(figura.Symbol);
        }
        public Print(Plansza plansza)
        {
            for (int y = 0; y < 8; y++)
            {
                for (int x = 0; x < 8; x++)
                {
                    Console.Write(plansza.PobierzFigureZPola(new Pole(x, y)).Symbol);
                }
                Console.WriteLine();
            }
        }
    }
}
